package com.hd.appcommon.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hd.appcommon.entity.Teacher;
import com.hd.appcommon.entity.User;
import com.hd.appcommon.entity.vo.StudentVo;
import com.hd.hdxgddcommon.page.MyPage;

import java.util.Collection;
import java.util.List;
import java.util.function.Function;

public interface UserService extends IService<User> {
    List<User> listByRoleId(String roleId);

    boolean updateBatchByQueryWrapper(Collection<User> entityList, Function<User, QueryWrapper<User>> queryWrapperFunction);

    IPage<StudentVo> listStuMessage(MyPage page, QueryWrapper<User> queryWrapper);

    /*获取异动学生信息*/
    void getSchoolRollChange();
}
